cmake_minimum_required(VERSION 2.8)
project(DEMO)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic")
include_directories(../../include ../../lib/list/src)

add_library(demo SHARED demo.c)

#find_package(PkgConfig)
#pkg_check_modules(GLIB glib-2.0)

#add_executable(test-ringbuf EXCLUDE_FROM_ALL test_ringbuf.c)
#include_directories(${GLIB_INCLUDE_DIRS})
#target_link_libraries(test-ringbuf ringbuf ${GLIB_LIBRARIES})
#add_custom_target(test test-ringbuf DEPENDS test-ringbuf)

#install(FILES ringbuf.h DESTINATION include)
#install(TARGETS ringbuf DESTINATION lib)
